package entity;

import java.util.List;

/**
 * Created by Mr.Q on 2018/4/22.
 * 描述
 */

public class CommondityListEntity {

    /**
     * code : 000000
     * msg : 操作成功
     * data : {"rows":[{"id":5,"title":"小米自行车","imagePath":"sfasdfa","remark":"年轻人第一台笔记本","startTime":"2018-04-12T10:00:00.000+0000","endTime":"2018-04-12T11:00:00.000+0000","startPrice":100,"auctionGradient":50,"nowPrice":650,"userId":1},{"id":5,"title":"小米自行车","imagePath":"sfasdfa","remark":"年轻人第一台笔记本","startTime":"2018-04-12T10:00:00.000+0000","endTime":"2018-04-12T11:00:00.000+0000","startPrice":100,"auctionGradient":50,"nowPrice":650,"userId":1}],"total":2}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * rows : [{"id":5,"title":"小米自行车","imagePath":"sfasdfa","remark":"年轻人第一台笔记本","startTime":"2018-04-12T10:00:00.000+0000","endTime":"2018-04-12T11:00:00.000+0000","startPrice":100,"auctionGradient":50,"nowPrice":650,"userId":1},{"id":5,"title":"小米自行车","imagePath":"sfasdfa","remark":"年轻人第一台笔记本","startTime":"2018-04-12T10:00:00.000+0000","endTime":"2018-04-12T11:00:00.000+0000","startPrice":100,"auctionGradient":50,"nowPrice":650,"userId":1}]
         * total : 2
         */

        private int total;
        private List<RowsBean> rows;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<RowsBean> getRows() {
            return rows;
        }

        public void setRows(List<RowsBean> rows) {
            this.rows = rows;
        }

        public static class RowsBean {
            /**
             * id : 5
             * title : 小米自行车
             * imagePath : sfasdfa
             * remark : 年轻人第一台笔记本
             * startTime : 2018-04-12T10:00:00.000+0000
             * endTime : 2018-04-12T11:00:00.000+0000
             * startPrice : 100
             * auctionGradient : 50
             * nowPrice : 650
             * userId : 1
             */

            private int id;
            private String title;
            private String imagePath;
            private String remark;
            private String startTime;
            private String endTime;
            private int startPrice;
            private int auctionGradient;
            private int nowPrice;
            private int userId;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImagePath() {
                return imagePath;
            }

            public void setImagePath(String imagePath) {
                this.imagePath = imagePath;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public int getStartPrice() {
                return startPrice;
            }

            public void setStartPrice(int startPrice) {
                this.startPrice = startPrice;
            }

            public int getAuctionGradient() {
                return auctionGradient;
            }

            public void setAuctionGradient(int auctionGradient) {
                this.auctionGradient = auctionGradient;
            }

            public int getNowPrice() {
                return nowPrice;
            }

            public void setNowPrice(int nowPrice) {
                this.nowPrice = nowPrice;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
